//
//  UploadImageInfo.m
//  Trackit
//
//  Created by yaodaobin on 2017/4/19.
//  Copyright © 2017年 yaodaobin. All rights reserved.
//

#import "UploadImageInfo.h"

@implementation UploadImageInfo

- (id)initWithCoder:(NSCoder *)coder {
    if (self = [super init]) {
        self.taskDetailID = [coder decodeObjectForKey:@"UserID"];
        self.objId = [coder decodeObjectForKey:@"UserName"];
        self.photoSeq = [coder decodeObjectForKey:@"RealName"];
        self.photoDate = [coder decodeObjectForKey:@"Department"];
        self.username = [coder decodeObjectForKey:@"Phone"];
        self.password = [coder decodeObjectForKey:@"Description"];
    }
    return self;
}

- (void)encodeWithCoder:(NSCoder *)coder {
    [coder encodeObject:_taskDetailID forKey:@"taskDetailID"];
    [coder encodeObject:_objId forKey:@"objId"];
    [coder encodeObject:_photoSeq forKey:@"photoSeq"];
    [coder encodeObject:_photoDate forKey:@"photoDate"];
    [coder encodeObject:_username forKey:@"username"];
    [coder encodeObject:_password forKey:@"password"];
}

@end
